package com.moyq5.mvc.framework.general;

import java.util.List;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

/**
 * 分页查询结果集
 *
 * @author mo_yq5
 * @since 2016年4月7日
 */
public class Page<T> {
	
	@JsonSerialize
	private Paging paging;
	
	@JsonSerialize
	private List<T> list;

	public Paging getPaging() {
		return paging;
	}

	public void setPaging(Paging paging) {
		this.paging = paging;
	}

	public List<T> getList() {
		return list;
	}

	public void setList(List<T> list) {
		this.list = list;
	}

}
